/*
 * @Descripttion:
 * @version:
 * @Author: sueRimn
 * @Date: 2020-03-31 15:22:21
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-07-14 15:26:37
 */

import defaultSettings from "@/settings";

const title = defaultSettings.title || "纬思OA管理系统";

export default function getPageTitle(pageTitle) {
	if (pageTitle) {
		return `${pageTitle} - ${title}`;
	}
	return `${title}`;
}
